using System;
using System.Collections.Generic;
using System.Text;

namespace Dominio
{
    public class Company
    {
        //Empty contructor used by hibernate
        protected Company()
        {}

        public Company(String name, String description, String address, String phone, String contact, String rubro)
        {
            this.Name = name;
            this.Description = description;
            this.Direccion = address;
            this.Telefono = phone;
            this.Contacto = contact;
            this.Rubro = rubro;
        }

        public virtual void modifyCompany(String name, String description, String address, String phone, String contact, String rubro)
        {
            this.Name = name;
            this.Description = description;
            this.Direccion = address;
            this.Telefono = phone;
            this.Contacto = contact;
            this.Rubro = rubro;
        }
        private int idCompany;
        private String name;
        private String description;
        private String direccion;
        private String telefono;
        private String contacto;
        private String rubro;

        public virtual int IdCompany
        {
            get { return idCompany; }
            set { idCompany = value; }
        }

        public virtual String Name
        {
            get { return name; }
            set { name = value; }
        }

        public virtual String Description
        {
            get { return description; }
            set { description = value; }
        }
        public virtual String Direccion
        {
            get { return direccion; }
            set { direccion = value; }
        }
        public virtual String Telefono
        {
            get { return telefono; }
            set { telefono = value; }
        }
        public virtual String Contacto
        {
            get { return contacto; }
            set { contacto = value; }
        }
        public virtual String Rubro
        {
            get { return rubro; }
            set { rubro = value; }
        }

    }
}
